package com.jian.supernote.model.feedback;

import com.jian.supernote.bean.BaseResponse;
import com.jian.supernote.http.JsonCallback;
import com.lzy.okgo.OkGo;
import com.lzy.okgo.callback.Callback;
import com.lzy.okgo.model.Response;

public class FeedbackModel implements IFeedback {
    @Override
    public void commitFeedback(String content, String contact, JsonCallback<BaseResponse> callback) {
        OkGo.<BaseResponse>post("http://www.hg3-app.com/property/feedback").params("", content)
                .params("", contact)
                .execute(callback);
    }
}
